package effective_java.design_pattern.visitor;

/**
 * @author Verlet
 * @date 2023-10-05 01:40
 */
public class Cat implements  Animal{
    @Override
    public void accept(Person person) {
        person.feed(this);
        System.out.println("好好吃，喵喵喵！！！");
    }
}
